Repository navigation
test(web): the move-thread family specs no longer race the parent link - #995
Merged
Merged
Conversation
The fake shell stream in the ChatView browser harness dropped each
thread's family fields (parentThreadId, attachedToParent and the rest),
though the real server's shell carries them. A child learned its parent
only ~160ms later from another stream. The Move threads dialog fixes its
families when it opens, so on a slow runner the dialog could open first
and leave the children unticked ("moves a family as one group" failed
in the merge queue for #994).
The harness now also left the Move threads dialog open across specs: its
open state lives in a module store the per-spec reset never closed. After
the family spec failed with it open, it reopened over the next mounts
and blocked the Allow all click in "groups one computer's moves".
toShellThread now passes the family fields through, and the per-spec
reset closes the Move threads dialog like the other dialogs.
badcuban
enabled auto-merge
November 18, 2026 18:08
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two move-thread browser specs failed in the merge queue for #994: "moves a family as one group" and "groups one computer's moves under Allow all".
The family spec raced the parent link. The fake shell stream in
ChatView.browser-harness.tsxdropped each thread's family fields (parentThreadId,attachedToParent,parentTurnId,handedBackAt,handedBackTurnId), though the real server's shell carries them. A child only learned its parent about 160ms later, from another stream. The Move threads dialog fixes its families when it opens, so on a slow runner it opened first and left the children unticked.toShellThreadnow passes those fields through, so the app knows the family from the first snapshot.The Allow all spec was collateral. The Move threads dialog keeps its open state in a module store, and the per-spec reset never closed it. After the family spec failed with the dialog open, the dialog reopened over the next mounts and covered the Allow all button. The reset now closes it like the other dialogs.
Checked: a temporary probe showed the child's parent link went from "set 161ms in" to "set at mount". The full web browser suite passes (1109 tests), and so do fmt, lint and typecheck.